﻿using System;
using System.Text;
using System.Collections.Generic;
using System.Linq;
using Microsoft.VisualStudio.TestTools.UnitTesting;

namespace cmd.UnitTests
{
    [TestClass]
    public class UnitTest1
    {
        private TestContext context;
        public TestContext TestContext
        {
            get { return context; }
            set { context = value; }
        }

        [DeploymentItem("DataSource\\TestSource.xlsx"), TestMethod]
        [DataSource("MyExcelDataSource")]
        public void TestMethod1()
        {
            Assert.AreEqual(context.DataRow["Val1"], context.DataRow["Val2"]);
        }
    }
}
